package com.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.net.InetAddress;

@Component
@ConfigurationProperties(prefix = "yaml")
@Data
public class YamlModel {

    private String str;
    private InetAddress remoteAddress;
    private String host;
}
